﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HelperPrototype.OtherForms
{
    public partial class InputTextForm : Form
    {
        public bool OK = false;

        public InputTextForm(string title, string question)
        {
            InitializeComponent();
            this.Text = title;
            label1.Text = question;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            OK = true;
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            OK = false;
            this.Close();
        }

        public string getText()
        {
            return txtText.Text;
        }
    }
}
